package com.nanhai.buddhist.college.module.collegebase.convert.textbookinfo.info;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.info.vo.TextbookInfoCreateReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.info.vo.TextbookInfoExcelVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.info.vo.TextbookInfoRespVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.info.vo.TextbookInfoUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.textbookinfo.TextbookInfoDO;

/**
 * 教材列表 Convert
 *
 * @author AKai
 */
@Mapper
public interface TextbookInfoConvert {

    TextbookInfoConvert INSTANCE = Mappers.getMapper(TextbookInfoConvert.class);

    TextbookInfoDO convert(TextbookInfoCreateReqVO bean);

    TextbookInfoDO convert(TextbookInfoUpdateReqVO bean);

    TextbookInfoRespVO convert(TextbookInfoDO bean);

    List<TextbookInfoRespVO> convertList(List<TextbookInfoDO> list);

    PageResult<TextbookInfoRespVO> convertPage(PageResult<TextbookInfoDO> page);

    List<TextbookInfoExcelVO> convertList02(List<TextbookInfoDO> list);

}
